﻿namespace Developer.Core.FrameWork.RegisterCenter.Model
{
    /// <summary>
    /// 服务节点
    /// </summary>
    public class ServiceNode
    {
        /// <summary>
        /// 服务url
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 服务ID
        /// </summary>
        public string ServiceID { get; set; }

        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServiceName { get; set; }

        /// <summary>
        /// 服务注册端口
        /// </summary>
        public int ServicePort { get; set; }

        /// <summary>
        /// 服务标签
        /// </summary>
        public string[] ServiceTags { get; set; }

        /// <summary>
        /// 注册服务地址
        /// </summary>
        public string ServiceAddress { get; set; }
    }
}
